package com.ele.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("swiper")
@Schema(name="Swiper",description = "响应的轮播图数据实体")
public class Swiper {
    @TableId
    @Schema(name = "id", description = "唯一编号" ,type = "Integer")
    private Integer id;
    @TableField("img_url")
    @Schema(name = "imgUrl", description = "图片地址" ,type = "String")
    private String imgUrl;
    @Schema(name = "imgAlt", description = "图片的描述" ,type = "String")
    private String imgAlt;
    @Schema(name = "useable", description = "图片是否展示" ,type = "Integer")
    private Integer useable;
}